package bsr.basara.autodata.service.impl;

import bsr.basara.autodata.dao.TableInfoRepository;
import bsr.basara.autodata.entity.TableInfo;
import bsr.basara.autodata.service.TableInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author basara
 */
@Service
public class TableInfoServiceImpl implements TableInfoService {

    @Autowired
    TableInfoRepository tableInfoRepository;

    @Override
    public Iterable<TableInfo> findAll() {

        return tableInfoRepository.findAll();
    }

}
